<script>
export default {
  name: "Child",
  data(){
    return {
      childTitle:"1111"
    }
  },
  methods:{
    handleClick(){
      console.log("click")
      this.$emit("event",this.childTitle)
      this.$emit("event1",this.childTitle)
    }
  }
}
</script>

<template>
  <div>
    child
    <button @click="handleClick">button</button>
  </div>
</template>

<style scoped>
 div{
   background: yellow;
 }
</style>